<?php

$lang = get_option('bandit_language');

function bandit_lang($lang,$key,$default) {
	$value = isset($lang[$key])?$lang[$key]:'';
	$value = ($value!='')?$value:$default;
	echo $value;
}

?>

<div id="headexpand-inner">
	<div class="grid-2 inline">
		<h3><?php bandit_lang($lang,'blog_header_recent',__('Recent Posts:','creatic')); ?></h3>
		<ul><?php wp_get_archives('type=postbypost&limit=20'); ?></ul>
	</div>
	<div class="grid-2 inline">
		<h3><?php bandit_lang($lang,'blog_header_monthly',__('Archives by Month:','creatic')); ?></h3>
		<ul><?php wp_get_archives('type=monthly'); ?></ul>
	</div>
	<div class="grid-2 inline omega">
		<h3><?php bandit_lang($lang,'blog_header_category',__('Archives by Subject:','creatic')); ?></h3>
		<ul><?php wp_list_categories('title_li='); ?></ul>
	</div>
</div><!--end expand-inner-->